ComponentOne ASP.NET MVC Controls
AllowAddNew Method

C1.Web.Mvc.Fluent Namespace > FlexGridBaseBuilder<T,TControl,TBuilder> Class : AllowAddNew Method
The value.
Configurates C1.Web.Mvc.FlexGridBase<T>.AllowAddNew. Sets a value that indicates whether the grid should provide a new row template so users can add items to the source collection.
Syntax
'Declaration
 
Public Overridable Function AllowAddNew( _
   ByVal value As Boolean _
) As TBuilder
public virtual TBuilder AllowAddNew( 
   bool value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
The new row template will not be displayed if the IsReadOnly property
See Also

Reference

FlexGridBaseBuilder<T,TControl,TBuilder> Class
FlexGridBaseBuilder<T,TControl,TBuilder> Members